package com.glory.brepda.entity;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

/**
 * FileName: RepairSheetDataEntity
 * Author: XJH
 * Date: 2020/8/18 17:10
 * Description:
 * History:
 */
public class RepairSheetDataEntity implements Serializable {

    private String SHEETID;
    private String EQUIPMENTID;
    private String LOTID;
    private String PRIORITY;
    private String SHIFT;
    private String TROUBLETIME;
    private String TROUBLEREPORTER;
    private String TROUBLECOMMENT;
    private String OWNER;
    private String COMMENTS;
    private String REPAIRTYPE;
    private String LOCATION;
    private String TROUBLECODE;
    private String STARTREPAIRTIME;
    private String ENDREPAIRTIME;
    private String REPAIROWNER;
    private String REPAIRCOMMENT;
    private List<PartListEntity> PARTSUSELIST; //部件更换列表
    private Long OBJECTRRN;
    private String RESERVED1;

    public String getRESERVED1() {
        return RESERVED1 == null ? "" : RESERVED1;
    }

    public void setRESERVED1(String RESERVED1) {
        this.RESERVED1 = RESERVED1;
    }

    public String getSTARTREPAIRTIME() {
        return STARTREPAIRTIME == null ? "" : STARTREPAIRTIME;
    }

    public void setSTARTREPAIRTIME(String STARTREPAIRTIME) {
        this.STARTREPAIRTIME = STARTREPAIRTIME;
    }

    public String getENDREPAIRTIME() {
        return ENDREPAIRTIME == null ? "" : ENDREPAIRTIME;
    }

    public void setENDREPAIRTIME(String ENDREPAIRTIME) {
        this.ENDREPAIRTIME = ENDREPAIRTIME;
    }

    public String getREPAIROWNER() {
        return REPAIROWNER == null ? "" : REPAIROWNER;
    }

    public void setREPAIROWNER(String REPAIROWNER) {
        this.REPAIROWNER = REPAIROWNER;
    }

    public void setOBJECTRRN(Long OBJECTRRN) {
        this.OBJECTRRN = OBJECTRRN;
    }

    public long getOBJECTRRN() {
        return OBJECTRRN;
    }

    public void setOBJECTRRN(long OBJECTRRN) {
        this.OBJECTRRN = OBJECTRRN;
    }

    public String getTROUBLECODE() {
        return TROUBLECODE == null ? "" : TROUBLECODE;
    }

    public void setTROUBLECODE(String TROUBLECODE) {
        this.TROUBLECODE = TROUBLECODE;
    }

    public String getREPAIRCOMMENT() {
        return REPAIRCOMMENT == null ? "" : REPAIRCOMMENT;
    }

    public void setREPAIRCOMMENT(String REPAIRCOMMENT) {
        this.REPAIRCOMMENT = REPAIRCOMMENT;
    }

    public List<PartListEntity> getPARTSUSELIST() {
        if (PARTSUSELIST == null) {
            return new ArrayList<>();
        }
        return PARTSUSELIST;
    }

    public void setPARTSUSELIST(List<PartListEntity> PARTSUSELIST) {
        this.PARTSUSELIST = PARTSUSELIST;
    }

    public String getLOCATION() {
        return LOCATION == null ? "" : LOCATION;
    }

    public void setLOCATION(String LOCATION) {
        this.LOCATION = LOCATION;
    }

    public String getREPAIRTYPE() {
        return REPAIRTYPE == null ? "" : REPAIRTYPE;
    }

    public void setREPAIRTYPE(String REPAIRTYPE) {
        this.REPAIRTYPE = REPAIRTYPE;
    }

    public String getSHEETID() {
        return SHEETID == null ? "" : SHEETID;
    }

    public void setSHEETID(String SHEETID) {
        this.SHEETID = SHEETID;
    }

    public String getEQUIPMENTID() {
        return EQUIPMENTID == null ? "" : EQUIPMENTID;
    }

    public void setEQUIPMENTID(String EQUIPMENTID) {
        this.EQUIPMENTID = EQUIPMENTID;
    }

    public String getLOTID() {
        return LOTID == null ? "" : LOTID;
    }

    public void setLOTID(String LOTID) {
        this.LOTID = LOTID;
    }

    public String getPRIORITY() {
        return PRIORITY == null ? "" : PRIORITY;
    }

    public void setPRIORITY(String PRIORITY) {
        this.PRIORITY = PRIORITY;
    }

    public String getSHIFT() {
        return SHIFT == null ? "" : SHIFT;
    }

    public void setSHIFT(String SHIFT) {
        this.SHIFT = SHIFT;
    }

    public String getTROUBLETIME() {
        return TROUBLETIME == null ? "" : TROUBLETIME;
    }

    public void setTROUBLETIME(String TROUBLETIME) {
        this.TROUBLETIME = TROUBLETIME;
    }

    public String getTROUBLEREPORTER() {
        return TROUBLEREPORTER == null ? "" : TROUBLEREPORTER;
    }

    public void setTROUBLEREPORTER(String TROUBLEREPORTER) {
        this.TROUBLEREPORTER = TROUBLEREPORTER;
    }

    public String getTROUBLECOMMENT() {
        return TROUBLECOMMENT == null ? "" : TROUBLECOMMENT;
    }

    public void setTROUBLECOMMENT(String TROUBLECOMMENT) {
        this.TROUBLECOMMENT = TROUBLECOMMENT;
    }

    public String getOWNER() {
        return OWNER == null ? "" : OWNER;
    }

    public void setOWNER(String OWNER) {
        this.OWNER = OWNER;
    }

    public String getCOMMENTS() {
        return COMMENTS == null ? "" : COMMENTS;
    }

    public void setCOMMENTS(String COMMENTS) {
        this.COMMENTS = COMMENTS;
    }

    public static class PartListEntity implements Serializable{
        private String PARTSID;
        private String PARTSDESC;

        public String getPARTSID() {
            return PARTSID == null ? "" : PARTSID;
        }

        public void setPARTSID(String PARTSID) {
            this.PARTSID = PARTSID;
        }

        public String getPARTSDESC() {
            return PARTSDESC == null ? "" : PARTSDESC;
        }

        public void setPARTSDESC(String PARTSDESC) {
            this.PARTSDESC = PARTSDESC;
        }
    }
}
